Skip to content

Conversation

@gustavogama-cll
Copy link
Contributor

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Nov 24, 2025

🦋 Changeset detected

Latest commit: a839bf7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
chainlink-deployments-framework Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@gustavogama-cll gustavogama-cll force-pushed the ggama/fix-mcms-make-proposal-context-provider-required branch from 7ff9767 to 69a000e Compare November 24, 2025 18:43
@gustavogama-cll gustavogama-cll force-pushed the ggama/fix-mcms-make-proposal-context-provider-required branch from 69a000e to a839bf7 Compare November 25, 2025 14:54
@cl-sonarqube-production
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR makes the proposalContextProvider parameter mandatory in the BuildMCMSv2Cmd function by adding validation checks and removing conditional logic.

  • Added panic checks for nil lggr and proposalContextProvider parameters
  • Removed conditional block that allowed proposalContextProvider to be nil
  • Simplified code by directly assigning environment and proposal context to config fields

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
engine/cld/legacy/cli/mcmsv2/mcms_v2.go Added nil checks for required parameters and removed conditional logic for optional proposal context provider
.changeset/fruity-kings-cross.md Added changeset documenting the API change

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gustavogama-cll gustavogama-cll marked this pull request as ready for review November 25, 2025 16:26
@gustavogama-cll gustavogama-cll requested review from a team as code owners November 25, 2025 16:26
@gustavogama-cll gustavogama-cll added this pull request to the merge queue Nov 25, 2025
Merged via the queue into main with commit d1febae Nov 25, 2025
16 checks passed
@gustavogama-cll gustavogama-cll deleted the ggama/fix-mcms-make-proposal-context-provider-required branch November 25, 2025 18:36
github-merge-queue bot pushed a commit that referenced this pull request Nov 26, 2025
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## [email protected]

### Patch Changes

-
[#588](#588)
[`d1febae`](d1febae)
Thanks [@gustavogama-cll](https://github.com/gustavogama-cll)! -
fix(mcms): make proposalContextProvider a required param of
BuildMCMSv2Cmd

-
[#595](#595)
[`95f96d9`](95f96d9)
Thanks [@finleydecker](https://github.com/finleydecker)! - Added -eth
flag to the evm nodes fund command. Example: users can now use "-eth 10"
to fund nodes up to 10 eth. Also added a new line separator to the
current balance log to improve readability.

-
[#594](#594)
[`5936b3b`](5936b3b)
Thanks [@gustavogama-cll](https://github.com/gustavogama-cll)! -
fix(mcms): improve error handling in confirmTransaction

---------

Co-authored-by: app-token-issuer-engops[bot] <144731339+app-token-issuer-engops[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants